/// <reference path="../type.d.ts" />

const { Parse } = window;
const parseConf: any = require('r/serve/parse.conf');
/* set REACT_APP_PARSE_APP_ID and REACT_APP_PARSE_JS_KEY in your local config file `.env.local` firstly */
Parse.initialize(parseConf.appId, parseConf.javascriptKey);
Parse.serverURL = parseConf.serverURL;

export default Parse;
